package com.qianli.user.domain.enums;

/**
 * name:枚举类型
 * auth:ting.li@qianli-inc.com
 * date:2018/1/2 19:28
 * version: v1.0.0
 **/
public enum UserAppInfoAddType {
    REGISTER(1,"注册"),
    LOGIN(2,"登录");
    private Integer type;

    private String desc;

    UserAppInfoAddType(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public UserAppInfoAddType setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public UserAppInfoAddType setDesc(String desc) {
        this.desc = desc;
        return this;
    }

}
